package com.jbm.onehome.iface;

import com.jbm.core.iface.IAcross;

import javax.persistence.Transient;

/**
 * Created by root on 16-2-24.
 */
public class ISeller extends IAcross
{
	public ISeller(IAcross ia)
	{
		super(ia);
	}

	public ISeller ()
	{
		super();
		back = false;
		method = "";
		errorinfo = "";

		start = 0;
		count = 0;
	}

	public ISeller ( boolean back, String errorinfo )
	{
		this();

		this.back = back;
		this.errorinfo = errorinfo;
	}

	public ISeller ( String method )
	{
		this();

		this.method = method;
	}

	public ISeller ( String method, int seller_id )
	{
		this();

		this.method = method;
		this.seller_id = seller_id;
	}

	public ISeller ( String method, int seller_id, int emp_id, String emp_role )
	{
		this();

		this.method = method;
		this.seller_id = seller_id;
		this.emp_id = emp_id;
		this.emp_role = emp_role;
	}

	public ISeller ( String method, int seller_id, String amount)
	{
		this();

		this.method = method;
		this.seller_id = seller_id;
		this.amount = amount;
	}

	public ISeller ( String method, String types, int start, int count )
	{
		this();

		this.method = method;
		this.types = types;
		this.type = "";
		this.start = start;
		this.count = count;
	}

	public ISeller ( String method,
					int prev_id,
	                int seller_id,
					String seller_code,
					String name,
					String phone,
					String mobile,
					String email,
					String QQ,
					String address,
					String contacts,
					String type,
					String level,
					String status,
					int start, int count )
	{
		this();

		this.method = method;
		this.seller_id = seller_id;
		this.seller_code = seller_code;
		this.name = name;
		this.phone = phone;
		this.mobile = mobile;
		this.email = email;
		this.QQ = QQ;
		this.address = address;
		this.contacts = contacts;
		this.type = type;
		this.level = level;
		this.status = status;

		this.prev_id = prev_id;
		this.types = "";

		this.start = start;
		this.count = count;
	}



	private static final long serialVersionUID = 2300001L;



	public int seller_id;
	public String seller_code;
	public String name;
	public String phone;
	public String mobile;
	public String email;
	public String QQ;
	public String address;
	public String contacts;
	public String type;
	public String level;
	public String status;
	public String create_date;
	public int create_id;
	public String expire_date;
	public String close_date;
	public int close_id;

	public int prev_id;

	public String amount;

	public int emp_id;
	public String emp_role;
	public String types;

	public String servicestyle;
	public String sellscope;
	public String mFilepath;
	public byte[] picbytes;
	public String sellerType;

	@Transient
	public boolean back;
	@Transient
	public String method;
	@Transient
	public String errorinfo;
	@Transient
	public int count;
	@Transient
	public int start=0;
	@Transient
	public int pagesize=0;
	@Transient
	public Integer tableid;
}
